package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopQualificationAuditBrandListBO;
import com.ztgf.shopping.models.bo.shop.ShopQualificationAuditIsBO;
import com.ztgf.shopping.models.bo.shop.ShopQualificationAuditSaveBO;
import com.ztgf.shopping.models.bo.shop.ShopQualificationAuditSaveListBO;
import com.ztgf.shopping.models.dto.shop.ShopQualificationAuditDTO;
import com.ztgf.shopping.models.vo.shop.ShopQualificationAuditBrandVO;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 店铺资质审核表服务
 *
 * @author zhanghualang
 * @Date 2020-06-23 11:58:06
 */
public interface IShopQualificationAuditService extends IService<ShopQualificationAuditDTO> {
    boolean add(ShopQualificationAuditSaveBO saveBO);

    ShopQualificationAuditDTO getByUserId(Long id, Integer type, Integer auditType);

    List<ShopQualificationAuditDTO> queryListByShopAudit(Long shopAuditId, Integer status, Integer type);//根据审核表ID，审核状态，审核类型

    List<ShopQualificationAuditBrandVO> queryBrandList(Long id); //获取品牌资质审核列表

    boolean isAudit(ShopQualificationAuditIsBO bo); //验证该资质是否已经在审核

    boolean addChange(ShopQualificationAuditSaveListBO bo); //提交资质变更

    boolean addBrand(ShopQualificationAuditBrandListBO bo); //新增品牌

    boolean updateMay(ShopQualificationAuditDTO dto);//更新时间字段可能为空的资质

    boolean isQAudit(ShopQualificationAuditIsBO bo);
}
